package cn.buk.tms.eotms.service;

import cn.buk.common.JsonResult;
import cn.buk.tms.eotms.request.HotelOrderRequestDto;
import cn.buk.tms.eotms.response.HotelOrderResponseDto;
import cn.buk.tms.eotms.sc.HotelOrderSearchCriteria;
import java.util.List;

/**
 * @author yfdai
 */
public interface HotelOrderService {

  List<HotelOrderResponseDto> searchHotelOrders(int userId, HotelOrderSearchCriteria sc);

  HotelOrderResponseDto getHotelOrderById(int userId, int orderId);

  JsonResult createHotelOrder(int userId, HotelOrderRequestDto dto);

  JsonResult cancelHotelOrder(int userId, int orderId, String remark);

  JsonResult submitHotelOrder(int userId, int orderId);

  JsonResult approveHotelOrder(int userId, int orderId, int denyCode, String denyReason);

  JsonResult payHotelOrder(int userId, int orderId);
}
